/**
 * 
 */
package com.gamiao.gwt.demo.useSpring.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;

public class UseSpring implements EntryPoint {

	public static final HTML HEAD_TITLE = new HTML(
			"<font size='12'><b>Gamiao Demo 4 GWT</b></font>");

	private DockPanel messagePanel;

	private UserListPanel userListPanel;

	public void onModuleLoad() {
		messagePanel = new DockPanel();
		messagePanel.setVerticalAlignment(DockPanel.ALIGN_MIDDLE);
		messagePanel.setHorizontalAlignment(DockPanel.ALIGN_CENTER);
		messagePanel.add(HEAD_TITLE, DockPanel.NORTH);

		userListPanel = new UserListPanel();

		RootPanel.get().add(messagePanel);
		RootPanel.get().add(userListPanel);
	}
}
